-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the Multi select and skip groups #408
Conversation
cescoffier
commented
Dec 26, 2020
- Implementation of the select and skip groups
- Improve subscription ceremony in the case of a Strict subscriber or a built-in operator
Codecov Report
@@ Coverage Diff @@
## master #408 +/- ##
============================================
+ Coverage 89.74% 90.05% +0.30%
- Complexity 2742 2769 +27
============================================
Files 363 364 +1
Lines 10526 10556 +30
Branches 1299 1302 +3
============================================
+ Hits 9447 9506 +59
+ Misses 564 549 -15
+ Partials 515 501 -14
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, clear APIs 👍
I added a note for a relevant portion of code not being tested, the rest looks good.
* @param duration the duration, must not be {@code null}, must be strictly positive. | ||
* @return the resulting {@link Multi} | ||
*/ | ||
public Multi<T> first(Duration duration) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our friend codecov says it's not been tested
implementation/src/main/java/io/smallrye/mutiny/operators/AbstractMulti.java
Show resolved
Hide resolved
* Migrate most of the MultiTransform group method to the select and skip groups. * Deprecate the MultiTransform group * Update documentation * Justify the breaking change (because the new groups are exposed in the API)
… built-in operator
…g custom comparators